home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene 96
/
Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso
/
misc
/
coding
/
deepvesa
/
infopuf.txt
< prev
next >
Wrap
Text File
|
1996-03-31
|
2KB
|
56 lines
structure of the infopuffer created by the bios function 4f01h of
our famous int 10h:
offset name size
≡ ─────────────────────────────────────────────────────
00h modeattributes 2 bytes
02h winAattributes 1 byte
03h winBattributes 1 byte
04h wingranularity 2 bytes
06h winsize 2 bytes
08h winAsegment 2 bytes
0ah winBsegment 2 bytes
0ch winfuncptr 4 bytes
10h bytesPerScanLine 2 bytes
12h xresolution in chars 2 bytes
14h yresolution in chars 2 bytes
16h xcharsize 1 byte
17h ycharsize 1 byte
18h numPlanes 1 byte
19h bitsPerPixel 1 byte
1ah numbanks 1 byte
1bh memory model 1 byte
≡ ─────────────────────────────────────────────────────
- 00h textmode, like vga
- 01h cga-compatible model
- 02h hercules-compatible model
- 03h vga-compatible model with
16 colors and 4 banks
- 04h vga-compatible model with
linear adressing (like
mode 13h)
- 05h high- and true-color
- 07h YUV-mode, no rgb system
- 08h reserved
≡ ─────────────────────────────────────────────────────
1ch banksize in kb 1 byte
1dh imagePages 1 byte
1eh reserved 1 byte
1fh redmasksize 1 byte
20h redfieldpos 1 byte
21h greenmasksize 1 byte
22h greenfieldpos 1 byte
23h bluemasksize 1 byte
24h bluefieldpos 1 byte
25h rsvdMasksize 1 byte
26h rsvdFieldpos 1 byte
27h directcolorinfo 1 byte
28h physbaseptr 4 bytes
2ch offscreenoffset 4 bytes
≡ ─────────────────────────────────────────────────────
plasmoid deep/thc